package _1_5_type_convert;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Created by bpzj on 2019-01-14.
 */

@Data
public class JavaBean {

    @JSONField(name = "FastJsonKeyName")
    @JsonProperty("JacksonName")
    public String name;

    // @JsonProperty("Value")
    public String value;

    public JavaBean(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public JavaBean() {
    }

}
